<?php 
 include_once($_SERVER['DOCUMENT_ROOT'].'/admin/public/header.php');
 $id = $_POST['id'];
$res=up($config,'reply',$_POST);

if ($res) {
	echo '<script>alert("nice");
     window.location.href="/admin/reply/index.php"
	</script>';
}else{
	echo "<script>alert('low');
     window.location.href='/admin/reply/up.php where id=$id'  
	</script>";
}

mysql_close();
 ?>


